import 'package:file_picker/file_picker.dart';

import 'base_handler.dart';

class FilePickerHandler extends BaseHandler {

  @override
  String name = "filePicker";

  @override
  void handler(dynamic data, dynamic responseCallback) async {
    FilePickerResult? result = await FilePicker.platform.pickFiles(
      allowMultiple: true,
      type: FileType.custom,
      allowedExtensions: ['jpg', 'pdf', 'doc'],
    );
  }
}